Yay_Currency\Helpers\Helper C

Total Complexity 125
Dependencies 2
Dependents 34
Total lines 901
Lines of code 805
Logical lines of code 218
Comment lines 4
Methods 45
Properties 2

Methods 45

Method Rating Maintainability Complexity Lines of code
update_post_meta_currency()
A
50 12 23
converted_currencies()
A
45 11 36
currency_code_by_country_code()
A
27
1 168
update_exchange_rate_currency()
A
48 10 31
get_translations()
A
32 1 129
get_rest_route_via_rest_api()
S
62 7 11
get_flag_by_country_code()
S
56 5 19
convert_currencies_data()
S
50 4 29
get_currencies_post_type()
S
52 4 24
create_new_currency()
S
53 4 23
compatible_classes()
S
42 1 65
count_display_elements_in_switcher()
S
66 5 8
detect_checkout_blocks_page()
S
63 5 10
change_number_decimals()
S
63 4 10
get_default_currency()
S
50 1 31
get_value_variable()
S
77 3 3
change_decimal_separator()
S
63 3 10
change_thousand_separator()
S
63 3 10
change_existing_currency_symbol()
S
68 3 7
get_current_url()
S
63 3 10
check_custom_orders_table_usage_enabled()
S
67 3 8
sanitize_array()
S
68 3 7
get_instance_classes()
S
66 2 8
delete_yay_currencies_transient()
S
74 2 5
default_decimal_separator()
S
75 2 4
get_yay_currency_by_currency_code()
S
65 2 9
update_currency_meta()
S
68 2 7
change_currency_position()
S
71 2 6
frontend_classes()
S
64 1 11
engine_classes()
S
70 1 7
create_nonce_field()
S
65 1 8
get_current_theme()
S
76 1 4
get_woo_current_settings()
S
64 1 10
get_exchange_rates()
S
70 1 6
sanitize()
S
79 1 3
appearance_classes()
S
70 1 7
woo_list_currencies()
S
73 1 5
get_yay_currencies_transient()
S
76 1 4
default_price_num_decimals()
S
75 1 4
default_thousand_separator()
S
80 1 3
default_currency_code()
S
76 1 4
use_yay_currency_params()
S
75 1 4
get_post_type()
S
80 1 3
backend_classes()
S
66 1 10
__construct()
S
98 1 1